<template>
  <div class="icon-selector" 
  :class="{'selector-active':isCheck}">
    <img src="@/assets/images/cart/tick.svg"  />
  </div>
</template>

<script>
export default {
  props: {
      isCheck:{
          type:Boolean,
          default(){
              return true
          }
      }
  },
  data() {
    return {};
  }
};
</script>

<style lang='scss' scoped>
  .icon-selector {
    position: relative;
    margin: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    img{
        width:94%;max-height:18px;display: block;margin:0 auto;
    }
  }

  .selector-active {
    background-color: #ff8198;
    border-color: #ff8198;
  }
</style>